<!doctype html>
<html lang="">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{% block title %}Bug Yellow{% endblock %}</title>
    <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/admin/admin.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='layui/css/layui.css') }}">
    <script src="{{ url_for('static', filename='layui/layui.js') }}"></script>
    {% block head %}{% endblock %}
</head>
<body>
{% block body %}
    {% block header %}
        <header class="header">
            <div class="layui-container">
                <div class="logopic">
                    <a href="/">
                        <img src="{{ url_for('static',filename='images/logo.png') }}" alt="">
                    </a>
                </div>
                <a class="logo" href="/07dev_item/static">
                    <h2>
                        {% block main_title %}
                            北枫小站后台
                        {% endblock %}
                    </h2>
                </a>
                <ul class="layui-nav layui-layout-right">
                    <li class="layui-nav-item">
                        <a href="{{ url_for('admin.mng_article') }}">文章</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="#">笔记</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="{{ url_for('admin.mng_category') }}">分类</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="{{ url_for('admin.mng_tag') }}">标签</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="#">评论</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="#">留言</a>
                    </li>
                    <li class="layui-nav-item header_avata">
                        <a href="#">
                            <img src="{{ url_for('static', filename='images/xyx.jpg') }}" alt="">
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;">小站概要</a></dd>
                            <dd><a href="javascript:;">系统设置</a></dd>
                            <hr>
                            <dd><a href="javascript:;" style="text-align: center">退出</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </header>
    {% endblock %}

    {% block content %}
    {% endblock %}

    {% block footer %}
        <footer class="footer">
            <p>Copyright &nbsp;&copy;&nbsp; 2023&nbsp;&nbsp;Bei-Feng</p>
        </footer>
    {% endblock %}

    {% block script %}
    {% endblock %}
{% endblock %}
</body>
</html>